package com.summer.mall.service;

import com.github.pagehelper.PageInfo;
import com.summer.mall.common.ResponseService;
import com.summer.mall.entity.Shipping;

/**
 * Created by complone on 2018/7/23.
 */
public interface ShippingService {
    ResponseService add(Integer userId, Shipping shipping);
    ResponseService<String> del(Integer userId,Integer shippingId);
    ResponseService update(Integer userId, Shipping shipping);
    ResponseService<Shipping> select(Integer userId, Integer shippingId);
    ResponseService<PageInfo> list(Integer userId, int pageNum, int pageSize);
}
